package com.qiyadeng.thread;

public class NotfiyThread extends Thread {

	MyWaitNotify myWaitNotify = null;
	
	public NotfiyThread(){};
	
	public NotfiyThread(MyWaitNotify myWaitNotify){
		this.myWaitNotify = myWaitNotify;
	}
	
	@Override
	public void run() {
		myWaitNotify.doNotify();
	}

}
